<div id="content-container" class="container">
    <div class="row">
        <div class="col-md-3">
            {include file="common/user/sidenav" /}
        </div>
        <div class="col-md-9">
            <div class="panel panel-default">
                <div class="panel-body">
                    <h2 class="page-header">{:__('Add applet')}</h2>
                    <form class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
                        {:token()}
                        <div class="form-group">
                            {if get_addon_info('wxsaas')}
                            <label class="control-label col-xs-12 col-sm-2">{:__('Applet type')}:</label>
                            <div class="col-xs-12 col-sm-4">
                                <select class="form-control" id="app_type" name="app_type" data-rule="required">
                                  <option value="">请选择小程序</option>
                                  <option value="10">微信小程序</option>
                                  <option value="20">微信公众号</option>
                                </select>
                            </div>
                            {else/}
                                <div class="no-addon">需要安装《<span>微信SaaS平台</span>》 插件</div>
                            {/if}
                        </div>
                        <div class="form-group normal-footer">
                            <label class="control-label col-xs-12 col-sm-2"></label>
                            <div class="col-xs-12 col-sm-8">
                                <button type="submit" class="btn btn-success btn-embossed">{:__('Submit')}</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>